package com.ecloud.aiassistantbackground.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 返回结果日志
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_result_log")
@ApiModel(value = "ResultLog对象", description = "返回结果日志")
public class ResultLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "返回日志id")
    @TableId(value = "result_log_id", type = IdType.AUTO)
    private Integer resultLogId;

    @ApiModelProperty(value = "上传日志id")
    private Integer uploadLogId;

    @ApiModelProperty(value = "返回结果时间")
    private LocalDateTime resultLogTime;

    @ApiModelProperty(value = "返回结果是否成功 0失败 1成功")
    private String resultLogSuccess;

    @ApiModelProperty(value = "备用字段1")
    private String resultLogReserve1;

    @ApiModelProperty(value = "备用字段2")
    private String resultLogReserve2;

}
